package main;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class Test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		double x = 10.5;
		int y = 0;
		if (x % 1 == 0) {
			y = (int) x;
		}
		System.err.println(y);
	}

}
